dnl $Id$
dnl config.m4 for extension pearsonhash

dnl Comments in this file start with the string 'dnl'.
dnl Remove where necessary. This file will not work
dnl without editing.

dnl If your extension references something external, use with:

dnl PHP_ARG_WITH(pearsonhash, for pearsonhash support,
dnl Make sure that the comment is aligned:
dnl [  --with-pearsonhash             Include pearsonhash support])

dnl Otherwise use enable:

PHP_ARG_ENABLE(pearsonhash, whether to enable pearsonhash support,
dnl Make sure that the comment is aligned:
[  --enable-pearsonhash            Enable pearsonhash support])

if test "$PHP_PEARSONHASH" != "no"; then
  dnl Write more examples of tests here...

  PHP_NEW_EXTENSION(pearsonhash, php_pearsonhash.c, $ext_shared)
fi
